package cn.newtouch.mapper;

import cn.newtouch.domain.MovieTicket;
import cn.newtouch.dto.UserMovieDto;
import com.baomidou.mybatisplus.mapper.BaseMapper;

/**
 * <p>
 *  Mapper 接口
 * </p>
 *
 * @author lqz
 * @since 2022-09-01
 */
public interface MovieTicketMapper extends BaseMapper<MovieTicket> {

    UserMovieDto selectUserMovieByUserIdAndMovieId(Long userId, Long movieId);

    void insertUserMovie(UserMovieDto userMovieDto1);

    void updateUserMovie(UserMovieDto userMovieDto);
}
